{{ if .IsNamedParams }}
{{- $avatar := .Get "avatar" -}}
<a target="_blank" href={{ .Get "url" }} title={{ .Get "name" }} class="friend-link">
    <div class="friend-link-div">
        <div class="friend-link-avatar">
            {{- dict "Src" $avatar "Height" "62" "Width" "62" | partial "plugin/image.html" -}}
        </div>
        <div class="friend-link-info">
            <i class="fas fa-user-circle fa-fw"></i>
            <i class="friend-name">{{ .Get "name" }}</i>
            <p class="friend-bio">{{ .Get "bio" }}</p>
        </div>
    </div>
</a>
{{- else -}}
{{- $avatar := .Get 2 -}}
<a target="_blank" href={{ .Get 1 }} title={{ .Get 0 }} class="friend-link">
    <div class="friend-link-div">
        <div class="friend-link-avatar">
            {{- dict "Src" $avatar "Height" "62" "Width" "62" | partial "plugin/image.html" -}}
        </div>
        <div class="friend-link-info">
            <i class="fas fa-user-circle fa-fw"></i>
            <i class="friend-name">{{ .Get 0 }}</i>
            <p class="friend-bio">{{ .Get 3 }}</p>
        </div>
    </div>
</a>
{{ end }}